package com.burstly.lib.util.calendar;

import android.content.Context;
import android.os.Build.VERSION;

public class CalendarEventsHandler
{
  private final AbstractCalendarEventsHandler mHandler;

  public CalendarEventsHandler(Context paramContext, IEventsHandlerCallback paramIEventsHandlerCallback)
  {
    if (Build.VERSION.SDK_INT >= 14)
    {
      this.mHandler = new CalendarEventsHandlerHigherApi14(paramContext, paramIEventsHandlerCallback);
      return;
    }
    this.mHandler = new CalendarEventsHandlerLowerApi14(paramContext, paramIEventsHandlerCallback);
  }

  public void scheduleEvent(CalendarEvent paramCalendarEvent)
  {
    this.mHandler.scheduleEvent(paramCalendarEvent);
  }

  public static abstract interface IEventsHandlerCallback
  {
    public abstract void addedSuccessfully();

    public abstract void errorOccured(String paramString);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.util.calendar.CalendarEventsHandler
 * JD-Core Version:    0.6.2
 */